package com.neuedu.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("ec_user_info")
public class UserInfo {

    @TableId(type = IdType.AUTO)
    @Column(comment = "个人信息 id")
    private Integer infoId;

    @Column(comment = "用户 id")
    private Integer uid;

    @Column(comment = "用户姓名")
    private String name;

    @Column(comment = "用户地址")
    private String address;

    @Column(comment = "用户邮箱")
    private String email;
}
